package com.code.zjm.receiver.demo;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * Created by ZJM on 2017/3/2.
 */

public class MainBC extends BroadcastReceiver {

    public static final String ACTION = "com.code.zjm.receiver.demo.intent.action.MainBC";

    @Override
    public void onReceive(Context context, Intent intent) {
        System.out.println("Broadcast onReceiver is : '" + intent.getStringExtra("text") + "'");
    }
}
